interface PluginEventListener {
    onMsg(msg:any):void;
}

// Button event listener subscription
interface PluginEventSubscription {
    id:number;
    listener:PluginEventListener;
    remove:()=>void;
}

export {PluginEventListener, PluginEventSubscription};